﻿
  CREATE VIEW [aspnet].[ProfilesView]
  AS SELECT [aspnet].[Profile].[UserId], [aspnet].[Profile].[LastUpdatedDate],
      [DataSize]=  DATALENGTH([aspnet].[Profile].[PropertyNames])
                 + DATALENGTH([aspnet].[Profile].[PropertyValuesString])
                 + DATALENGTH([aspnet].[Profile].[PropertyValuesBinary])
  FROM [aspnet].[Profile]
  